package edu.sctu.practice.class02.renzhaoxu.assign03.assign03_02;

/**
 * Created by Administrator on 2015/10/30.
 */
public class Max {

    public static Comparable max(Comparable o1, Comparable o2)

    {
        if (o1.compareTo(o2) > 0)
            return o1;
        else
            return o2;
    }
}
